local node = Node.new()
node.x = 100
node.y = 200

local child = Node.new():addTo(node)
child.x = 15
child.y = 30
Test(function ()
    child:checkUpdateTransform()
    return child.wx == 115 and child.wy == 230
end)

node.sx = 0.5

Test(function ()
    child:checkUpdateTransform()
    return child.wx == 107.5 and child.wy == 230
end)


node.sy = 0.1
Test(function ()
    child:checkUpdateTransform()
    return child.wx == 107.5 and child.wy == 203
end)

-- node.kx = 10
-- Test(function ()
--     child:checkUpdateTransform()
--     print(child.wx, child.wy)
--     return child.wx == 107.5 and child.wy == 230
-- end)